<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <ul>
      <li v-for="(val, key, index) in obj">{{val}}--{{key}}--{{index}}</li>
    </ul>

    <ul>
      <li v-for="(val, key, index) in obj" :key="key">{{val}}--{{key}}--{{index}}</li>
    </ul>

    <ul>
      <li v-if="val === '济南'" v-for="(val, key, index) in obj" :key="key">{{val}}--{{key}}--{{index}}</li>
    </ul>
  </div>
  <script src="./vue.js"></script>
  <script>
    new Vue({
      el: '#app',
      data: {
        obj: {
          uname: '张三',
          age: 18,
          address: '济南'
        }
      }
    })
  </script>
</body>
</html>